Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Kirk Dwowepuloni 24.Dec.03 03:28 AM a Web browser
Domino Designer 6.0.2 CF2 Windows 2000


When using FindString against rich text, it seems to take an initial pass at the text just fine, but will not execute and find a different FindString "behind" the last occurence. Is there any way to reset the "cursor" or navigator to the beginning of the rich text for each pass (or search) for text? I've tried, SetCharOffset, SetPosition, Reset and many other less intuitive ideas. I am no expert!!!Following is my attempt at searching for text in a field (body), and then via UI, replacing with an arrayed variable...

If rtnav.FindFirstString("<Customer>") Then
Do
Call uidoc.FindString("<Customer>")
Call uidoc.Cut
Call uidoc.InsertText(Customer)
Loop While rtnav.FindNextString("<Customer>")
Else
End If

If rtnav.FindFirstString("<OppID>") Then
Do
Call uidoc.FindString("<OppID>")
Call uidoc.Cut
Call uidoc.InsertText(OppID)
Loop While rtnav.FindNextString("<OppID>")
Else
End If








  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS